// //取到 getQuery
function getQuery(key) {
    let queryArr = location.search.slice(1).split('&')
    for (let i = 0; i < queryArr.length; i++) {
        if (queryArr[i].split('=')[0] === key) {
            return queryArr[i].split('=')[1]
        }
    }
}
